<div class="guestbook">
    <div class="scan pkg">
        <div class="title">
            Guestbook for Gallery:
        </div>
         {foreach key=scan_id item=scan from=$gbscans}
            <div class="item">
                <img class="img-scan"  src="data/images/guestbook/gallery/{$scan.image}"/>  
            </div> 
         {/foreach}
     </div>
     <div class="more">
        <a href="?module=gallery&act=guestbook&filter=1">See more.</a>
     </div>
     <div class="post">
        <div class="title">
            Guestbook customer post online:
        </div>
        {foreach key=post_id item=post from=$gbpost}
            <div class="entry">
                <div class="header">
                        <a class="name">
                        {$post.guestname}
                        </a> 
                         Post:
                        {$post.createdate}
                 
                </div>
                <div class="description">
                    {$post.description} 
                </div>
            </div>

         {/foreach}
     </div> 
      <div class="more">
        <a href="?module=gallery&act=guestbook&filter=2">See more.</a>
     </div>
</div>